﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "EX_MENU", DisableSyncStructure = true)]
	public partial class EXMENU {

		[JsonProperty, Column(Name = "MENU_ID", IsPrimary = true)]
		public uint MENUID { get; set; }

		[JsonProperty, Column(Name = "CREATE_DATE", DbType = "DATE(7)")]
		public DateTime? CREATEDATE { get; set; }

		[JsonProperty, Column(Name = "CREATE_USER")]
		public uint? CREATEUSER { get; set; }

		[JsonProperty, Column(Name = "DISPLAY_NO")]
		public uint? DISPLAYNO { get; set; }

		/// <summary>
		/// 是否启用
		/// </summary>
		[JsonProperty, Column(Name = "IS_DISPLAY", DbType = "VARCHAR2(2 BYTE)")]
		public string ISDISPLAY { get; set; }

		/// <summary>
		/// Y--启用；N--删除
		/// </summary>
		[JsonProperty, Column(Name = "IS_USE", DbType = "VARCHAR2(2 BYTE)", IsNullable = false)]
		public string ISUSE { get; set; }

		[JsonProperty, Column(Name = "MENU_CODE", DbType = "VARCHAR2(30 BYTE)", IsNullable = false)]
		public string MENUCODE { get; set; }

		/// <summary>
		/// 菜单名称
		/// </summary>
		[JsonProperty, Column(Name = "MENU_NAME", DbType = "VARCHAR2(100 BYTE)", IsNullable = false)]
		public string MENUNAME { get; set; }

		[JsonProperty, Column(Name = "MENU_PIC", DbType = "VARCHAR2(100 BYTE)")]
		public string MENUPIC { get; set; }

		/// <summary>
		/// 目录，模块
		/// </summary>
		[JsonProperty, Column(Name = "MENU_TYPE", DbType = "VARCHAR2(2 BYTE)", IsNullable = false)]
		public string MENUTYPE { get; set; }

		[JsonProperty, Column(Name = "MENU_URL", DbType = "VARCHAR2(100 BYTE)", IsNullable = false)]
		public string MENUURL { get; set; }

		[JsonProperty, Column(Name = "P_ID")]
		public uint PID { get; set; }

	}

}
